package com.pxxy.cels.dao;


import java.io.File;
import java.io.IOException;
import java.util.List;

import com.pxxy.cels.entity.NoteBook;

/**
 * @program: Cels
 * @package: qikran.cels.dao
 * @description: ${生词本Dao}
 * @author: qi_kran
 * @create: 2020-04-07 22:25
 **/
public interface NoteBookDao {
	
    void writeToNoteBook(List<NoteBook> list, File file);//将list持久化到file中
    
    List<NoteBook> readFromNoteBook(File file) throws IOException;//从文件中读取 list的对象
}
